﻿<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html;charset=utf-8">
    <title>Maxx</title>
    <link rel="stylesheet" type="text/css" href="css/reset.css">
    <link rel="stylesheet" type="text/css" href="css/base.css">
    <link rel="stylesheet" type="text/css" href="css/tipTip.css">
    <link rel="stylesheet" type="text/css" href="css/short-code.css">
    <link rel="stylesheet" type="text/css" href="css/prettyPhoto.css">
    <link rel="stylesheet" type="text/css" href="css/css3.css">
    <link rel="stylesheet" type="text/css" href="css/slider.css">
    <script type="text/javascript" src="js/jquery-1.6.4.min.js"></script>
    <script type="text/javascript" src="../scripts/ext-all.js"></script>
    <script type="text/javascript" src="../scripts/HotelAppJs.js"></script>
    <script type="text/javascript" src="js/jquery.nivo.slider.js"></script>
    <script type="text/javascript" src="http://cufon.shoqolate.com/js/cufon-yui.js?v=1.09i"></script>
    <script type="text/javascript" src="js/TitilliumText.font.js"></script>
    <script type="text/javascript" src="js/cufon-replace.js"></script>
    <script type="text/javascript" src="js/scripts.js"></script>
    <script type="text/javascript" src="js/custom.js"></script>
    <script type="text/javascript" src="js/shortcode.js"></script>
    <!--[if IE 7]><link rel="stylesheet" type="text/css" href="css/ie7.css"><![endif]-->
    <script type="text/javascript">
        SetHeaderAndFooter();
        Ext.onReady(function () {
            Ext.QuickTips.init();
            //var loc = location.href.substring(0, location.href.indexOf('?'));
            var param = location.search;
            var paramName = 0;
            var paramValue = '';
            if (param != null && param != '' && param != undefined) {
                paramValue = param.substring(param.indexOf('=') + 1);
                paramName = param.substring(1, param.indexOf('='));
            }

            var paramStr = {};
            eval('paramStr.' + paramName + '=' + '"' + paramValue + '"');
            Ext.Ajax.request({
                url: '../HotelWebService.asmx/GetNewsInfo',
                success: function (response, opts) {
                    eval('var result =' + response.responseText + ';');
                    {
                        if (result.length > 0) {
                            $("#spanName").html(result[0].NewsName);
                            $("#divContent").html(result[0].NewsContent);
                        }
                    }
                },
                failure: function (response, opts) {
                    //Ext.Msg.alert(AdviceLang.AlertInfo, AdviceLang.LoginFailed);
                },
                params: paramStr
            });
        });
    </script>
</head>
<body>
    <!--Header-->
    <div id="divHeader">
    </div>
    <!--/Header-->
    <!--Body content-->
    <div class="full-width-wrapper">
        <div class="fixed-width-wrapper" id="body-content">
            <!--Content-->
            <div id="content" class="float-left content-left">
                <div class="header-text">
                    <ul id="breadcrumbs">
                        <li>首页</li><li class="current">新闻中心</li></ul>
                    <h1 class="first-word double-color sp">
                        News Center</h1>
                </div>
                <div class="post entry-content">
                    <a href="images/pix/about-1.jpg" class="preloading-light img-border clear" rel="prettyPhoto"
                        title="">
                        <img src="images/pix/about-1.jpg" alt="Lorem ipsum dolor si amet"></a>
                    <h3 class="first-word">
                        <span id="spanName"></span>
                    </h3>
                    <p><div id="divContent"></div> </p>
                </div>
            </div>
            <!--/Content-->
            <!--Sidebar-->
            <!--/Sidebar-->
        </div>
    </div>
    <!--/Body content-->
    <!--Footer Extra-->
    <div id="divFooter">
    </div>
    <!--/Footer Extra-->
</body>
</html>
